{% load staticfiles %}

<!DOCTYPE html>
<!-- saved from url=(0079)https://read.qidian.com/chapter/vqOPrvvY37noTMoHyHZuUA2/FkBQGBMfyTTwrjbX3WA1AA2 -->
<html class="loaded"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    
    <title>{{ book.name }}_{{ content.name }}_笔趣阁</title>
    <meta name="description" content="{{ book.name }}最新章节阅读，{{ book.name }}是一部{{ book.type.name }}小说,由华表创作,起点提供首发更新。{{ content.name }}(2018.03.02)">
    <meta name="keywords" content="{{ book.name }},最新,最新章节,{{ book.type.name }}小说,阅读">
    <meta name="robots" content="all">
    <meta name="googlebot" content="all">
    <meta name="baiduspider" content="all">
    <meta http-equiv="mobile-agent" content="format=wml; url=http://m.qidian.com/book/1011447634/399945220">
    <meta http-equiv="mobile-agent" content="format=xhtml; url=http://m.qidian.com/book/1011447634/399945220">
    <meta http-equiv="mobile-agent" content="format=html5; url=http://m.qidian.com/book/1011447634/399945220">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="renderer" content="webkit">
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.min.js"></script>
    <script src="{% static 'js/stats.js.下载' %}" name="MTAH5" sid="500451537"></script><script src="{% static 'js/push.js.下载' %}"></script><script>
        // 获取cookie
        function getCookie(name) {
            var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
            arr = document.cookie.match(reg);
            if (arr){
                return arr[2];
            }else {
                return null;
            }
        }
        // tf = 1 用户选择，留在PC
        if (getCookie('tf') != 1) {
            if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){
                window.location.href="//m.qidian.com/book/1011447634/399945220";
            }
        }else{
            // M站设置了一年，这里fixed
            setCookie('tf', 1, 'qidian.com', '/', 0);
        }
    </script>
    <script>
        document.domain = 'qidian.com';
    </script>
    <script>
        var speedTimer = [],
            speedZero = new Date().getTime();
    </script>
    
<script>
    //遇到cookie tf=1的话留在本站，否则跳转移动站
    if (getCookie('tf') != 1) {
        //判断是以下设备后跳转到m站
        if (navigator.userAgent.match(/(iPhone|iPod|Android)/i)) {
            location.href = "//m.qidian.com"
        }
    }else {
        // M站设置了一年，这里fixed
        setCookie('tf', 1, 'qidian.com', '/', 0);
    }
    // start 防劫持
    //设置cookie
    function setCookie(name, value, domain, path, expires) {
        if(expires){
            expires = new Date(+new Date() + expires);
        }
        var tempcookie = name + '=' + escape(value) +
                ((expires) ? '; expires=' + expires.toGMTString() : '') +
                ((path) ? '; path=' + path : '') +
                ((domain) ? '; domain=' + domain : '');
        //Ensure the cookie's size is under the limitation
        if(tempcookie.length < 4096) {
            document.cookie = tempcookie;
        }
    }
    //获取cookie
    function getCookie(name) {
        var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
        if (arr = document.cookie.match(reg))
            return (arr[2]);
        else
            return null;
    }
    //创建并发送请求
    function createSender(url){
        var img = new Image();
        img.onload = img.onerror = function(){
            img = null;
        };
        img.src = url;
    };
</script>

<link data-ignore="true" rel="shortcut icon" type="image/x-icon" href="https://qidian.gtimg.com/qd/favicon/qd_icon.c443c.ico">
<link data-ignore="true" rel="Bookmark" type="image/x-icon" href="https://qidian.gtimg.com/qd/favicon/qd_icon.c443c.ico">


    
<link rel="stylesheet" data-ignore="true" href="{% static 'css/vote_popup.3844d.css' %}">

<link charset="utf-8" rel="stylesheet" href="{% static 'css/Panel.css' %}"><link charset="utf-8" rel="stylesheet" href="{% static 'css/LightTip.css' %}"><link charset="utf-8" rel="stylesheet" href="{% static 'css/Popup.css' %}"><link charset="utf-8" rel="stylesheet" href="{% static 'css/Drag.css' %}"><style name="lbf-overlay">.lbf-overlay { position:fixed; top:0; left:0;}</style></head>
<body class="theme-0 " style="zoom: 1;">
<div class="wrap">
    
        <div class="read-header" id="readHeader" data-l1="40">
    <div class="wrap-center cf">
        <div class="left-nav fl">
            <div class="logo">
                <a class="logo-ico" href="javascript:"></a>
            </div>
            <ul>
                <li class="site" data-l2="1">
                    <a class="pin-logo" href="https://www.qidian.com/" target="_blank" data-eid="qd_R01"><span></span></a>
                    <div class="dropdown">
                        <a href="https://www.qdmm.com/" target="_blank" data-eid="qd_R02">起点女生网</a>
                        <a href="http://chuangshi.qq.com/" target="_blank" data-eid="qd_R03">创世中文网</a>
                        <a href="http://yunqi.qq.com/" target="_blank" data-eid="qd_R04">云起书院</a>
                    </div>
                </li>
                <li class="app" data-l2="2">
                    <cite>手机阅读</cite>
                    <div class="dropdown scan-app hidden">
                        <div class="box">
                            <h3>扫描下载起点读书客户端</h3>
                            <img src="{% static 'images/qd_qrcode.f4f94.png' %}">
                            <a href="https://itunes.apple.com/cn/app/id534174796?mt=8" target="_blank" data-eid="qd_R05"><em class="iconfont"></em>App store 下载</a>
                            <a href="http://download.qidian.com/apknew/source/QDReader.apk" target="_blank" data-eid="qd_R06"><em class="iconfont"></em>Android 下载</a>
                        </div>
                    </div>
                </li>
                <li id="j_nearRead" data-l2="3">
                    <cite>最近阅读</cite>
                </li>
                <li class="quick-nav" data-l2="4">
                    <cite><i class="iconfont"></i>快速导航</cite>
                    <div class="dropdown type-list">
                        <div class="type-box">
                            <h3>分类频道</h3>
                            <a href="https://www.qidian.com/xuanhuan" data-eid="qd_R13" target="_blank">玄幻</a>
                            <a href="https://www.qidian.com/qihuan" data-eid="qd_R14" target="_blank">奇幻</a>
                            <a href="https://www.qidian.com/wuxia" data-eid="qd_R15" target="_blank">武侠</a>
                            <a href="https://www.qidian.com/xianxia" data-eid="qd_R16" target="_blank">仙侠</a>
                            <a href="https://www.qidian.com/dushi" data-eid="qd_R17" target="_blank">都市</a>
                            <a href="https://www.qidian.com/xianshi" data-eid="qd_R18" target="_blank">现实</a>
                            <a href="https://www.qidian.com/lishi" data-eid="qd_R20" target="_blank">历史</a>
                            <a href="https://www.qidian.com/junshi" data-eid="qd_R19" target="_blank">军事</a>
                            <a href="https://www.qidian.com/youxi" data-eid="qd_R21" target="_blank">游戏</a>
                            <a href="https://www.qidian.com/tiyu" data-eid="qd_R22" target="_blank">体育</a>
                            <a href="https://www.qidian.com/kehuan" data-eid="qd_R23" target="_blank">科幻</a>
                            <a href="https://www.qidian.com/lingyi" data-eid="qd_R24" target="_blank">悬疑灵异</a>
                            <a href="https://www.qidian.com/2cy" class="ecy" data-eid="qd_R26" target="_blank">二次元</a>
                            <a href="https://www.qidian.com/finish" data-eid="qd_R27" target="_blank">完本</a>
                            <a href="https://www.qdmm.com/" data-eid="qd_R25" target="_blank">女生</a>
                            <a href="https://www.qidian.com/book/sanjiang" data-eid="qd_R28" target="_blank">三江</a>
                        </div>
                        <div class="type-box">
                            <h3>其它</h3>
                            <a href="https://write.qq.com/college" data-eid="qd_R29" target="_blank">投稿</a>
                            <a href="https://wwwploy.qidian.com/HelpCenter/default.aspx?type=0&amp;categoryid=58&amp;parentid=53" data-eid="qd_R30" target="_blank">签约</a>
                            <a href="https://wwwploy.qidian.com/ploy/20150520qdsp/theme1.htm" data-eid="qd_R31" target="_blank">福利</a>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
        <div class="read-login fr">
            <ul>
                <li id="min-search" data-l2="5">
                    <form action="https://www.qidian.com/search" method="get" target="_blank">
                        <input class="submit-input" type="submit" id="searchSubmit" data-eid="qd_R32">
                        <input id="pin-input" class="pin-input hide" name="kw" type="text" placeholder="挂机之小富即安">
                        <label id="pin-search" for="searchSubmit" data-eid="qd_R32"><em class="iconfont"></em></label>
                    </form>
                </li>
                <li class="line"></li>
                <li class="sign-out" data-l2="6">
                    <a id="pin-login" href="javascript:" data-eid="qd_R33">登录</a>
                    <a class="reg" href="https://passport.qidian.com/reg.html?appid=10&amp;areaid=1&amp;target=iframe&amp;ticket=1&amp;auto=1&amp;autotime=30&amp;returnUrl=http%3A%2F%2Fwww.qidian.com" target="_blank" data-eid="qd_R34">注册</a>
                </li>
                <li class="sign-in hidden" data-l2="6">
                    <a href="https://me.qidian.com/Index.aspx" target="_blank" data-eid="qd_R36"><i id="nav-user-name"></i><span></span></a>
                    <div class="dropdown">
                        <a href="https://me.qidian.com/profile/info.aspx" target="_blank" data-eid="qd_R37">账户设置</a>
                        <a href="https://me.qidian.com/account/info.aspx" target="_blank" data-eid="qd_R38">账务中心</a>
                        <a href="https://me.qidian.com/author/authorDoor.aspx" target="_blank" data-eid="qd_R39">作家专区</a>
                        <a id="exit" href="javascript:" data-eid="qd_R40">退出</a>
                    </div>
                </li>
                <li data-l2="6"><a href="https://www.qidian.com/charge/meRedirect" target="_blank" data-eid="qd_R35">充值</a></li>
            </ul>
        </div>
    </div>
</div>
    
    <div id="j_bodyRecWrap" class="hidden" style="display: block;">
    <!-- 自定义背景图片 start -->
<!-- <div class="body-rec-wrap" style="background: url(//bossaudioandcomic-1252317822.file.myqcloud.com/activity/document/8e6e93c122123ac5f162cf61b37fd44b.jpg) center 0 no-repeat;" data-l1="3"> -->
    <!-- 自定义背景图片 end -->

</div></div>
    <div class="crumbs-nav" data-l1="1">
    
    <a href="https://www.qidian.com/" target="_blank" data-eid="qd_G01">首页</a><em class="iconfont">></em>
    <a href="https://www.qidian.com/dushi" target="_blank" data-chanid="4" id="j_chanId" data-eid="qd_G02">{{ book.type.name }}</a><em class="iconfont">></em>
    <a href="https://www.qidian.com/all?chanId=4&amp;subCateId=16" target="_blank">都市异能</a><em class="iconfont">></em>
    
    <a class="act" href="https://book.qidian.com/info/1011447634" target="_blank" id="bookImg" data-bid="1011447634">{{ book.name }}</a>
</div>
    
<div class="read-main-wrap font-family01" style="font-size: 18px; z-index: 101;" id="j_readMainWrap">
        <div id="j_chapterBox" data-l1="3">
            
            
<div class="text-wrap" id="chapter-399945220" data-cid="399945220" data-purl="//read.qidian.com/chapter/vqOPrvvY37noTMoHyHZuUA2/VTL0_7xchUzgn4SMoDUcDQ2" data-nurl="//read.qidian.com/chapter/vqOPrvvY37noTMoHyHZuUA2/P7YytQWGYovgn4SMoDUcDQ2" data-info="0|399922218|400015848|0|0">
    <div class="main-text-wrap">
        <div class="text-head">
            <div class="guide-box" style="display: none;">
                <cite></cite>
                <p>点击书签后，可收藏每个章节的书签，“阅读进度”可以在个人中心书架里查看</p>
            </div>
            <a class="book-mark" href="javascript:" title="书签" data-cid="399945220" data-bid="1011447634" data-auid="640" data-eid="qd_R104"></a>
            <h3 class="j_chapterName">{{ content.name }}</h3>
            <div class="text-info cf">
                <div class="info fl">
                    <a href="https://book.qidian.com/info/1011447634" target="_blank" data-bid="1011447634" data-auid="640" data-eid="qd_R102"><em class="iconfont"></em>{{ book.name }}</a>
                    
                        <a href="https://me.qidian.com/authorIndex.aspx?id=640" target="_blank" data-bid="1011447634" data-auid="640" data-eid="qd_R103"><em class="iconfont"></em>{{ book.author }}</a>
                    
                    <i><em class="iconfont"></em><span class="j_chapterWordCut">0</span>字</i>
                    <i><em class="iconfont"></em><span class="j_updateTime">2018.03.01 15:19</span></i>
                </div>
            <!-- start 评论列表 -->
<!-- 
<div class="top-comment-wrap fr">
    
    <i class="j_comReplyNum"></i>
    <a class="comment-btn" href="javascript:" title="评论"><em class="iconfont">&#xe64d;</em></a>
    <dl class="user-post-list" data-threadId="0">
        
    </dl>
    
</div>
 -->
<!-- end 评论列表 --></div>
        </div>
        <div class="read-content j_readContent">
            {{ content.content|safe }}
        </div>
        
        <div class="admire-wrap">
            <!-- <a class="report-btn j_reportBtn" href="javascript:" data-eid="qd_R106"><em class="iconfont">&#xe657;</em>举报</a> -->
            <a class="report-btn" id="j_reportBtn" href="https://www.qidian.com/ajax/chapter/reportChapter?siteId=1&amp;bookId=1011447634&amp;chapterId=399945220&amp;_csrfToken=0UkBS6li1VwAmYnUYXcpJ3d0kAX5wJmSHUxqNry9" data-eid="qd_R106"><em class="iconfont"></em>举报</a>
            <script>
                (function() {
                    function getCookie(name) {
                        var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));
                        if (match) return match[2];
                    }
                    document.getElementById('j_reportBtn').href += ('&_csrfToken=' + getCookie('_csrfToken'))
                })()
            </script>
            <div class="read-btn-box">
                <a class="admire lang j_admireBtn" href="javascript:" data-showtype="3" data-eid="qd_R105">赞赏<span class="j_admireNum"></span></a>
            </div>
        <dl class="user-active cf">
</dl></div>
        
        
        
    </div>
</div>
        </div>
        
<div class="chapter-control dib-wrap" data-l1="3">
    
    <a id="j_chapterPrev" data-eid="qd_R107" href="{% url 'books:content' book.id prevpage %}">上一章</a><span>|</span>
    <a href="{% url 'books:detail' book.id %}" target="_blank" data-eid="qd_R108">目录</a><span>|</span>
    <a id="j_chapterNext" href="{% url 'books:content' book.id nextpage %}" data-eid="qd_R109">下一章</a>
</div>

        <div class="la-ball-pulse j_chapterLoad hidden">
            <span></span>
            <span></span>
            <span></span>
        </div>
    </div>
</div>
<div class="float-wrap" id="j_floatWrap" data-l1="2">
    <div class="left-bar-list" id="j_leftBarList" style="top: 119px;">
        <dl>
            <dd id="j_navCatalogBtn" data-eid="qd_R42">
                <a href="javascript:"><i><em class="iconfont"></em><span>目录</span></i></a>
                <div class="guide-box" style="display: none;">
                    <cite></cite>
                    目录
                </div>
            </dd>
            <dd id="j_navSettingBtn">
                <a href="javascript:"><i><em class="iconfont"></em><span>设置</span></i></a>
                <div class="guide-box" style="display: none;">
                    <cite></cite>
                    设置
                </div>
            </dd>
            <dd data-eid="qd_R84">
                <a class="add-book" href="javascript:" data-bookid="1011447634"><i><em class="iconfont"></em><span>书架</span></i></a>
                <div class="guide-box" style="display: none;">
                    <cite></cite>
                    加入书架
                </div>
            </dd>
            <dd data-eid="qd_R85">
                <a href="{% url 'books:detail' book.id %}" target="_blank"><i><em class="iconfont"></em><span>书页</span></i></a>
                <div class="guide-box" style="display: none;">
                    <cite></cite>
                    返回书页
                </div>
            </dd>
            
        </dl>
    </div>
    <div class="right-bar-list" id="j_rightBarList" style="bottom: 0px;">
        <dl>
            <dd id="navTicket" data-showtype="2" data-aid="qd_R88">
                <a href="javascript:"><i><em class="iconfont"></em><span>投票</span></i></a>
                <div class="guide-box" style="display: none;">
                    <cite></cite>
                    投票
                </div>
            </dd>
            
            <dd id="j_discussHref" data-eid="qd_R89">
                
                <a href="//forum.qidian.com/NewForum/List.aspx?forumId=1011447634" target="_blank"><i><em class="iconfont">&#xe658;</em><span>评论</span></i></a>
                <div class="guide-box">
                    <cite></cite>
                    评论
                </div>
            </dd>
            
            <dd class="go-top" id="j_goTop" title="返回顶部" data-eid="qd_R90" style="display: block;">
                <a href="#"><i><em class="iconfont">^</em></i></a>
            </dd>
            
        </dl>
    </div>
</div>
<div id="userLevel" class="hidden"></div>
<div id="authorId" data-authorid="640" class="hidden"></div>
<script>
    //全局的通用数据都放g_data变量里
    var g_data = {};
    //环境变量，会按照环境选择性打log
    g_data.envType = 'pro';
    //用作统计PV
    g_data.pageId = 'qd_P_read';
    //阅读页配置参数
    g_data.readSetting = {
        "t" : 0,
        "ft" : 0,
        "fs" : 3,
        "w" : 1,
        "rt" : 0,
        "autoBuy" : 0
    };
    //书信息
    g_data.bookInfo = {
        "bookId":{{ book.id }},
        "bookName":'{{ book.name }}',
        "authorName": '{{ book.author }}'
    };
   
    //页面初始化章节信息
    g_data.chapter = {
        //页面进入加载的章节id
        id:399945220,
        //章节vip标识
        vipStatus : 0,
        //上一章id
        prevId : {{ prevpage }},
        // 当前页id
        currId: {{ currentpage }},
        //下一章id
        nextId : {{ nextpage }},
        // 总章节数
        totalPage: {{ totalpage }},
        //本章节是否已经订阅
        isBuy: 0
    }
</script>


<script data-ignore="true" src="{% static 'js/LBF.js.下载' %}"></script>
<script>
    // LBF 配置
    LBF.config({"paths":{"site":"//qidian.gtimg.com/qd/js","qd":"//qidian.gtimg.com/qd","common":"//qidian.gtimg.com/common/1.0.0"},"vars":{"theme":"//qidian.gtimg.com/qd/css"},"combo":true,"debug":false});
    LBF.use(['lib.jQuery'], function ($) {
        window.$ = $;
    });
</script>
<script>
    LBF.use(['monitor.SpeedReport', 'qd/js/component/login.a4de6.js', 'qd/js/read.qidian.com/index.22264.js' ], function (SpeedReport, Login, Index) {
        // 页面逻辑入口
        if(Login){
            Login.init().always(function(){
                Index && typeof Index === 'function' && new Index();
            })
        }
        if(219 && 219 != ''){
            $(window).on('load.speedReport', function () {
                // speedTimer[onload]
                speedTimer.push(new Date().getTime());
                var f1 = 7718, // china reading limited's ID
                        f2 = 219, // site ID
                        f3 = 39; // page ID
                // chrome & IE9 Performance API
                SpeedReport.reportPerformance({
                    flag1: f1,
                    flag2: f2,
                    flag3IE: f3,
                    flag3Chrome: f3,
                    rate:0.1,
                    url: '//isdspeed.qidian.com/cgi-bin/r.cgi'
                });
                // common speedTimer:['dom ready', 'onload']
                var speedReport = SpeedReport.create({
                    flag1: f1,
                    flag2: f2,
                    flag3: f3,
                    start: speedZero,
                    rate:0.1,
                    url: '//isdspeed.qidian.com/cgi-bin/r.cgi'
                });
                // chrome & IE9 Performance API range 1~19, common speedTimer use 20+
                for (var i = 0; i < speedTimer.length; i++) {
                    speedReport.add(speedTimer[i], i + 20)
                }
                // http://isdspeed.qq.com/cgi-bin/r.cgi?flag1=7718&flag2=224&flag3=1&1=38&2=38&…
                speedReport.send();
            })
        }
    });
    speedTimer.push(new Date().getTime());
</script>

<script>
    var _mtac = {};
    (function() {
        var mta = document.createElement("script");
        mta.src = "//pingjs.qq.com/h5/stats.js?v2.0.2";
        mta.setAttribute("name", "MTAH5");
        mta.setAttribute("sid", "500451537");
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(mta, s);
    })();
</script>

<script>
    // 计算当前章节内容字数
    function wordCount(data){
        var pattern = /[a-zA-Z0-9_\u0392-\u03c9]+|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g;
        var m =data.match(pattern);
        var count = 0;
        if(m==null){return count;}
        for(var i=0;i<m.length;i++){
            if(m[i].charCodeAt(0)>=0x4E00){
                count +=m[i].length;
            }else{
                count += 1;
            }
        }
    return count;
    }
    var content_data = $(".j_readContent").text()
    var count = wordCount(content_data)
    $(".j_chapterWordCut").html(count)

    // 标记上一章和下一章
    var num = {{ currentpage }};
    var totalpage = {{ totalpage }}
    if (num <= 0 || num > totalpage){num = 1}
    if (num == totalpage){
        $("#j_chapterNext").attr("href", "javascript:;")
    }else if(num == 1){
        $("#j_chapterPrev").attr("href", "javascript:;")
    }
</script>


<iframe width="0" height="0" id="bookreadadd" style="display:none;" src="{% static 'html/abc.html' %}"></iframe><div id="download_plus_animation"></div></body></html>